package com.itheima.service;

import com.itheima.pojo.PageBody;
import com.itheima.pojo.Student;

import java.util.List;

public interface StudentService {
    PageBody findStudentByPage(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    void saveStudent(Student student);

    Student findStudentById(Integer id);

    void updateStudentById(Student student);

    void deleteStudentByIds(List<Integer> objects);

    void updateStudentViolation(Integer id, Integer score);
}
